from django import forms 
from models import *


class SkillTrainForm(forms.Form):
    skillstotrain = forms.ModelChoiceField(label='skills to train', queryset=Skill.objects.all())
    
class CharacterForm(forms.ModelForm):
    location = forms.ModelChoiceField(queryset=Location.objects.filter(initial=True))
    class Meta:
        model = Character
        exclude = ('skill_features',)